package com.ldzy.dao;

import com.ldzy.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from user where email=#{email} and password=#{password}")
    public User login(User user); //查询数据库是否存在user记录
}
